<?php	 	  $this->beginContent('//layouts/main'); ?>
<div class="container">
<div class="span-5 last">
		<div id="sidebar">
		<?php	 	  $this->widget('bootstrap.widgets.BootMenu', array(
			'type'=>'list',
			'items'=>array(
						array('label'=>'E-AUDIT MENU'),
                        array('label' => 'Home', 'icon'=>'home', 'url' => array('/site/index')),
						array('label' => 'Tipe Master',  'icon'=>'pencil', 'url' => array('/eAudit/tipeMaster/admin'), 'visible' => !Yii::app()->user->isGuest && Yii::app()->user->checkAccess(Rights::module()->superuserName)),
						array('label' => 'Master',  'icon'=>'pencil', 'url' => array('/eAudit/master/admin'), 'visible' => !Yii::app()->user->isGuest && Yii::app()->user->checkAccess(Rights::module()->superuserName)),
						array('label' => 'Master Provinsi',  'icon'=>'pencil', 'url' => array('/eAudit/provinsi/admin'), 'visible' => !Yii::app()->user->isGuest && Yii::app()->user->checkAccess(Rights::module()->superuserName)),
						array('label' => 'Master Satker',  'icon'=>'pencil', 'url' => array('/eAudit/satker/admin'), 'visible' => !Yii::app()->user->isGuest && Yii::app()->user->checkAccess(Rights::module()->superuserName)),
						array('label' => 'Data Kepegawaian', 'icon'=>'user', 'url' => array('/eAudit/dataKepegawaian/admin'), 'visible' => !Yii::app()->user->isGuest && Yii::app()->user->checkAccess(Rights::module()->superuserName)),
						array('label' => 'Laporan Kegiatan', 'icon'=>'book', 'url' => array('/eAudit/dokumentasiPelaksanaanKegiatan/admin'), 'visible' => !Yii::app()->user->isGuest),
						array('label' => 'POK', 'icon'=>'book', 'url' => array('/eAudit/manajemenDataPok/admin'), 'visible' => !Yii::app()->user->isGuest),
						array('label' => 'SAKPA', 'icon'=>'book', 'url' => array('/eAudit/sakpa/admin'), 'visible' => !Yii::app()->user->isGuest),
						array('label' => 'SIMAK-BMN', 'icon'=>'book', 'url' => array('/eAudit/pelaporanKeuanganDanBmn/admin'), 'visible' => !Yii::app()->user->isGuest),
						array('label' => 'Peraturan per-UU', 'icon'=>'book', 'url' => array('/eAudit/peraturanPerUu/admin'), 'visible' => !Yii::app()->user->isGuest),
						array('label' => 'LHP', 'icon'=>'book', 'url' => array('/eAudit/lhp/admin'), 'visible' => !Yii::app()->user->isGuest),
						array('label' => 'Lain-lain', 'icon'=>'book', 'url' => array('/eAudit/laporanLainLain/admin'), 'visible' => !Yii::app()->user->isGuest),
                        array('label' => 'Rights',  'icon'=>'cog', 'url' => array('/rights'), 'visible' => Yii::app()->user->checkAccess(Rights::module()->superuserName)),
						array('label' => 'News', 'icon'=>'pencil', 'url' => array('/news'), 'visible' => !Yii::app()->user->isGuest && Yii::app()->user->checkAccess(Rights::module()->superuserName)),
                        array('url' => Yii::app()->getModule('user')->loginUrl, 'label' => Yii::app()->getModule('user')->t("Login"), 'visible' => Yii::app()->user->isGuest),
                        
                    ),
		)); ?>
		
		</div><!-- sidebar -->
	</div>
	<div class="span-17">
		<div id="content">
			<?php	 	  echo $content; ?>
		</div><!-- content -->
	</div>
</div>
<?php	 	  $this->endContent(); ?>